.customer-testimonial-section{
    padding: 90px 0 110px;
    
    &.style2{
        background: #f2f6f8;
    }
}

.customer-testimonial{
    text-align: center;
    margin-top: 60px;
    margin-bottom: 45px;
    .item{
        max-width: 1100px;
        margin: 0 auto;
        p{
            font-size: 24px;
            line-height: 1.42;
            font-family: $font3;
            color: $palsky;
            margin-bottom: 40px;
            @media (max-width: 991px){
                font-size: 18px;
                margin-bottom: 20px;
            }
            @media (max-width: 767px){
                font-size: 16px;
            }
        }
        h3{
            font-weight: 600;
            font-family: $font2;
            margin: 0 0 3px;
        }
        h5{
            margin: 0;
            font-family: $font3;
        }
    }
    
    &.style2{
        text-align: left;
        .ct-indicator{
            &.imgv{
                li{
                    width: 120px;
                    @media (max-width: 1199px){
                        width: 80px;
                    }
                    @media (max-width: 991px){
                        width: 60px;
                    }
                    img{
                        border-radius: 0;
                    }
                }
            }
            &.dotv{
                @media (max-width: 1199px){
                    margin-top: 50px;
                }
                li{
                }
            }
        }
    }
}

.ct-indicator{
    position: relative;
    left: 0;
    bottom: auto;
    width: auto;
    display: table;
    margin: 0 auto;
    li{
        text-indent: inherit;
        border: none;
        opacity: 0.3;
        @include transition;            
        &.active{
            opacity: 1;
        }
    }
    &.imgv{
        margin-bottom: 45px;
        li{
            width: 98px;
            height: 98px;
            line-height: 98px;
            position: relative;
            margin: 0;
            background: none;
            img{
                width: 100%;
                border-radius: 50%;
            }
            &.active{
                transform: scale(1.3);
                z-index: 2;
            }
        }
    }
    &.dotv{
        li{
            width: 10px;
            height: 10px;
            background: $dark;
            border-radius: 0;
            margin: 0 5px;
            float: left;
        }
    }
}

.customer-testimonials{
    background: #f2f6f7;
    padding: 100px 0;
    
    .section-title{
        margin-bottom: 90px;
    }
}

.ctm-tabs{
    border-bottom: 2px solid #d2e4ed;
    margin-bottom: 85px;
    padding-bottom: 54px;
    position: relative;
    display: table;
    width: 100%;
    @media (max-width: 767px){
        margin-bottom: 50px;
    }
    &:after{
        content: '';
        display: block;
        width: 22px;
        height: 22px;
        border-left: 2px solid #d2e4ed;
        border-bottom: 2px solid #d2e4ed;
        background: #f2f6f7;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: rotate(-45deg) translateX(-50%) translateY(30%);
    }
    
    li{
        width: 25%;
        padding: 0 15px;
        position: relative;
        @media (max-width: 479px){
            padding: 0 5px;
        }
        a{
            border: none;
            border-radius: 0;
            opacity: 0.5;
            margin: 0;
            @media (max-width: 991px){
                padding: 0;
            }
            &:after{
                content: '';
                display: block;
                height: 2px;
                width: 0;
                background: #ef5b34;
                @include transition;
                position: absolute;
                bottom: -55px;
                left: 50%;
            }
            &:hover,&:focus{
                border: none;
                background: none;
                &:after{
                    left: 0;
                    width: 100%;
                }
            }
        }
        &.active{
            a{
                background: none;
                border: none;
                opacity: 1;
                &:after{
                    left: 0;
                    width: 100%;
                }
                &:hover,&:focus{
                    border: none;
                    background: none;
                }
            }
        }
    }
    
    .media{
        width: auto;
    }
    
    .media-left{
        padding-right: 15px;
        @media (max-width: 1199px){
            padding-right: 10px;
        }
        @media (max-width: 767px){
            padding-right: 0;
            padding-bottom: 10px;
            display: block;
        }
        @media (max-width: 479px){
            
        }
    }
    .media-object{
        width: 80px;
        @media (max-width: 1199px){
            width: 65px;
        }
        @media (max-width: 479px){
            width: 62px;
        }
        img{
            max-width: 100%;
            border-radius: 100%;
        }
    }
    .media-body{
        
        @media (max-width: 479px){
            display: none;
        }
    }
    h4{
        font: bold 16px/1 $font3;
        color: #393a37;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    h5{
        font: 12px/1 $font3;
        color: #a1a1a1;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.ctm-tab-contents{
    text-align: center;
    p{
        font: 26px/1.73 "Georgia";
        color: #716a7f;
        @media (max-width: 767px){
            font-size: 16px;
        }
        a{
            color: $pblue;
        }
    }
}

/*Carousel Testimonial*/
.testimonial-carousel-section{
    padding: 80px 0 120px;   
    &:after{
        display: block;
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 108px;
        height: 273px;
        background: url(../icons/map.png) no-repeat scroll calc(50% + 585px) 0;
        background-size: contain;
        z-index: 3;
        @media (max-width: 1199px){
            top: 170px;
            height: 150px;
            background-position: calc(50% + 300px) 0;
        }
        @media (max-width: 991px){
            top: 200px;
            height: 120px;
            background-position: calc(50% + 250px) 0;
        }
        @media (max-width: 767px){
            top: 160px;
            background-position: right 0;
        }
    }
}

.tcs-sectitle{
    margin-bottom: 70px;
    margin-top: 0;
    text-transform: capitalize;
    font-family: $font4;
    font-weight: 500;
    color: #48535c;
    text-align: center;
    @media (max-width: 991px){
        margin-bottom: 40px;
    }
}

.tc-col{
    position: relative;
}

.tc-quote-sign-icon{
    position: absolute;
    top: 22px;
    left: 113px;
    z-index: 2;
    @media (max-width: 1199px){
        top: 30px;
        left: 80px;
        width: 80px;
    }
    @media (max-width: 767px){
        top: 35px;
        left: 40px;
        width: 45px;
    }
}

.testimonail-carousel{
    position: relative;
    &:before{
        content: '';
        display: block;
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        box-shadow: 0px 0px 80px 0px rgba(0, 0, 0, 0.2);
    }
    .item{
        padding: 0 97px 130px;
        z-index: 2;
        @media (max-width: 1199px){
            padding: 0 75px 130px;
        }
        @media (max-width: 991px){
            padding: 0 75px 80px;
        }
        @media (max-width: 767px){
            padding: 0 55px 80px;
        }
        @media (max-width: 479px){
            padding: 0 20px 80px;
        }
    }
    
    p{
        margin: 0;
        font: 300 18px/2.28 $font4;
        text-align: center;
        color: #757a7f;
        @media (max-width: 1199px){
            font-size: 15px;
        }
        @media (max-width: 767px){
            font-size: 14px;
            line-height: 1.6;
        }
    }
    
    
    .owl-prev,.owl-next{
        position: absolute;
        z-index: 2;
        top: 50%;
        @media (max-width: 479px){
            top: 35%;
            img{
                width: 15px;
            }
        }
    }
    .owl-prev{
        left: 10px;
    }
    .owl-next{
        right: 10px;
    }
    
    .owl-dots{
        position: absolute;
        text-align: center;
        display: block;
        left: 0;
        right: 0;
        bottom: 70px;
        @media (max-width: 991px){
            bottom: 40px;
        }
    }
    .owl-dot{
        width: 8px;
        height: 8px;
        border-radius: 8px;
        background: #ced2d4;
        display: inline-block;
        & + .owl-dot{
            margin-left: 20px;
        }
        &.active{
            background: $pblue;
        }
    }
}

.tc-customer-img{
    margin: 0 auto 20px;
    padding: 11px;
    border: 1px solid #eff0f1;
    width: 117px;
    height: 117px;
    border-radius: 100%;
    img{
        border-radius: 100%;
        max-width: 100%;
    }
}

.tc-title,
.tc-from{
    margin: 0;
    font-family: $font4;
    font-weight: 400;
    color: #48535c;
    font-size: 20px;
}

.tc-from{
    margin-top: 5px;
    margin-bottom: 65px;
    color: #dfd9d7;
    @media (max-width: 991px){
        margin-bottom: 35px;
    }
}